#include <stdio.h>
#include "ClassFile.h"
#include "MethodInfo.h"

int dumpKlass(const char * source_file)
{
  ClassFile * klass;
  klass=new ClassFile(source_file);

  klass->dump();
  return 0;
}

int main(int ac, char ** av)
{
  if(ac<2) {
    printf("Usage: %s <class_file>\n",av[0]);
    return 1;
  }

  dumpKlass(av[1]);

  return 0;
}
